package org.example.spring_book.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName BookInfo
 * @Description TODO
 * @Author wangxiaodong
 */
@Data
public class BookInfo {
    //图书ID
    private Integer id;
    //书名
    private String bookName;
    //作者
    private String author;
    //数量
    private Integer count;
    //定价
    private BigDecimal price;
    //出版社
    private String publish;
    //借阅状态
    private Integer states;//1-可借阅  2-不可借阅

    private String stateCN;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

}
